Skip to content

Add profile search#85

Merged
JeffSpies merged 7 commits into
masterfrom
add_profile_search
May 12, 2020
Merged

Add profile search#85
JeffSpies merged 7 commits into
masterfrom
add_profile_search

Conversation

@TheoWolf

@TheoWolf TheoWolf commented May 6, 2020

Copy link
Copy Markdown
Contributor

Description:
This PR adds ElasticSearch (ES) to databarary.org and enables search for users, and we are starting with a single node cluster for development reasons.
The ingest is processed through Hasura's event triggers that will POST a request to es/webhook route on update/insert event on the users' table. I'm using a single webhook in charge of finding the table triggering the event, and push cleansed data to the appropriate ES index. I have one index per table, and all databrary indices start with "databrary-" which allows us to use wildcards to query all databrary indices like such databrary-*. the reason behind one index per searchable table is to limit the data processing before sending data to the frontend.

Notes:

  • Added kibana
  • Code refactoring and cleaning

Tickets:

@TheoWolf TheoWolf added this to the Search milestone May 6, 2020
@TheoWolf TheoWolf self-assigned this May 6, 2020
@TheoWolf TheoWolf changed the title [WIP] Add profile search Add profile search May 6, 2020
@TheoWolf TheoWolf requested a review from JeffSpies May 8, 2020 14:34
@JeffSpies JeffSpies merged commit 0272c7d into master May 12, 2020
@TheoWolf TheoWolf deleted the add_profile_search branch May 21, 2020 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persist Gravatar URLs in Users table Enable people search Add Elasticsearch

2 participants